package com.threeti.jiayusms.infrastructure.communicationvoice;

import com.threeti.jiayusms.domain.model.CommunicationVoice;
import com.threeti.jiayusms.framework.dao.GenericCustomKeyDao;
import com.threeti.jiayusms.framework.util.DynaSearchCriteria;
import com.threeti.jiayusms.framework.util.PagedListHandler;

public interface CommunicationVoiceDao extends GenericCustomKeyDao<String, CommunicationVoice>{

	PagedListHandler<CommunicationVoice> findAllVoiceTemplatesByPage(int currentPageIndex, int startingIndex);
	
	PagedListHandler<CommunicationVoice> findVoiceTemplatesByPage(DynaSearchCriteria dynaSearchCriteria, int currentPageIndex, int startingIndex);
}
